import { createRouter, createWebHistory } from 'vue-router';

const routes = [
  {
    path: '/building',
    name: 'Building',
    component: () => import('@/pages/building/Building.vue')
  },
  {
    path: '/person',
    name: 'Person',
    component: () => import('@/pages/person/Person.vue')
  },
  {
    path: '/cube',
    name: 'Cube',
    component: () => import('@/pages/cube/Cube.vue')
  },
  {
    path: '/line',
    name: 'Line',
    component: () => import('@/pages/line/Line.vue')
  },
  {
    path: '/',
    name: 'index',
    component: () => import('@/pages/index.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;
